package cn.yl.course.server.entity;

import cn.yl.api.server.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程章节表
 * </p>
 *
 * @author yl
 * @since 2022-04-22
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("course_section")
@ApiModel(value = "CourseSection对象", description = "课程章节表")
public class CourseSection extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("课程id")
    @TableField("course_id")
    private Integer courseId;

    @ApiModelProperty("章节名")
    @TableField("section_name")
    private String sectionName;

    @ApiModelProperty("章节描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("是否删除")
    @TableField("is_de")
    private Boolean de;

    @ApiModelProperty("排序字段")
    @TableField("order_num")
    private Integer orderNum;

    @ApiModelProperty("状态，0:隐藏；1：待更新；2：已发布")
    @TableField("status")
    private Integer status;


}
